<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
</head>
<body>

<div id="menu">

  <ul>
	Hallo <c:out value="${principal}"/>
	<br></br>

	<li><a href="index.html">Home</a></li> 
  	<li><a href="AlleRegionen.html">Suche</a>
  	<br></br>
  	<li><a href="AlleRouten.html">Alle Routen</a>
  	<li><a href="RoutenOrte.html">Routen mit Orten</a>
  	<br></br>	
  		
  	<c:if test="${fn:contains(authorities, 'ROLE_USER')}">	
	  		
	  	<li><a href="EditRoute.html">Neue Route hinzuf&uuml;gen</a></li> 
	  	<li><a href="EditOrt.html">Neuen Ort hinzuf&uuml;gen</a></li> 
	  	<br></br>
  	</c:if>
  	
  	<c:if test="${fn:contains(authorities, 'ROLE_ADMIN')}">	
	  		
	  	<li><a href="delete-edit-orte.html">Ort l&ouml;schen /&auml;ndern </a></li> 
	  	<li><a href="delete-edit-route.html">Route l&ouml;schen /&auml;ndern </a></li> 
	 	<br></br>
	 	 	
 	</c:if>
  		
  	<li><a href="team.html">Team</a></li> 
  	<li><a href="impressum.html">Impressum</a></li> 
  	<li><a href="kontakt.html">Kontakt</a></li> 
  	<br></br>
	
	<form method="get" action="suche.html">
			
		<input type="text" name="suche" size="14"  /><br />
		&nbsp; <input type="submit" class="submit" value="Search" />
			
		</form>
	</ul>	
</div>

</body>
</html>  